//
//  HeaderView.h
//  ListDemo
//
//  Created by Duomai on 15/4/22.
//  Copyright (c) 2015年 Duomai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OANameListModel.h"
@class HeaderView;
@protocol HeaderViewDelegate <NSObject>
-(void)clickHeaderView2;

//-(void)clickHeaderView:(NSInteger)index;
@end
@protocol HeaderViewDelegate2 <NSObject>
-(void)clickHeaderView:(NSInteger)index;

//-(void)clickHeaderView2;

@end

@interface HeaderView : UITableViewHeaderFooterView
@property(nonatomic,strong)OANameListModel * groupModel;
@property(nonatomic,weak)id <HeaderViewDelegate> delegate;
@property(nonatomic,weak)id <HeaderViewDelegate2> delegate2;

@property(nonatomic,weak) UIButton *bgButton;
+(instancetype)headerViewWithTableView:(UITableView*)tabelView;

@end
